<HTML>
<HEAD>
 <TITLE>iAnime Hello world</TITLE>
 
<script src="ianime028-all.js" type="text/javascript"></script>
<script type="text/javascript">
var anime = new iAnime();

function animateImg()
{
 anime.add({ id:'img',x:200, duration:1000} );
 anime.add({id:'img', effect:'style',from:{'width':'288px' },to:{'width':'36px' },duration:1000}); 
}


</script>

</HEAD>
<BODY>
 <div id='img' onclick="animateImg()"
 style="position:absolute"> <img src="http://jamad2001.googlepages.com/tarinNya.png">
 </div>

 

</BODY>
</HTML>

